import Vue from 'vue'
import VueRouter from 'vue-router'
import VueResource from 'vue-resource'
import moment from 'moment'

import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap/dist/js/bootstrap.min.js'
import router from './route.js'

Vue.use(VueRouter)
Vue.use(VueResource)
Vue.http.options.root = "/src/simulationData/"
Vue.filter('dateFormat', function (dataStr, pattern = 'YYYY-MM-DD') {
    return moment(dataStr).format(pattern)
})
var vm = new Vue({
    el: '#app',
    data: {

    },
    router
})